<?php if ($data != NULL): ?>
<div id="edit-team-member-wrapper" class="form-item">
<label for="edit-team-member">
Members:
<span class="form-required" title="This field is required.">*</span>
</label>
 <?php foreach ($data as $value): ?>
    <div class="team-add-checkbox" id="<?php echo $value->org_nid; echo $value->uid;  ?>"><input class="form-checkbox<?php echo $value->org_nid; echo $value->uid;?>" type="checkbox" name="members[]" value="<?php echo $value->uid; ?>"  />
        <?php echo $value->field_firstname_value . ',' . $value->field_lastname_value . '(' . $value->name . ' G:' .$value->field_student_grade_value . ')'; ?></div>
    <?php endforeach; ?>
</div>
<?php endif; ?>